<html>

<head>
    <script>
        console.log(parseInt("123"));
        console.log(parseInt("123asdasdsasdsa1651"));
        console.log(parseInt("  123  "));
        console.log(parseInt("asdasd123asdasds"));
    </script>
</head>

<body>

</body>

</html>